package gov.ccswj.modules.ccbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.ccbusiness.dao.CInvestmentOutDao;
import gov.ccswj.modules.ccbusiness.entity.CInvestmentOutEntity;
import gov.ccswj.modules.ccbusiness.service.CInvestmentOutService;



@Service("cInvestmentOutService")
public class CInvestmentOutServiceImpl implements CInvestmentOutService {
	@Autowired
	private CInvestmentOutDao cInvestmentOutDao;
	
	@Override
	public CInvestmentOutEntity queryObject(Integer id){
		return cInvestmentOutDao.queryObject(id);
	}
	
	@Override
	public List<CInvestmentOutEntity> queryList(Map<String, Object> map){
		return cInvestmentOutDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return cInvestmentOutDao.queryTotal(map);
	}
	
	@Override
	public void save(CInvestmentOutEntity cInvestmentOut){
		cInvestmentOutDao.save(cInvestmentOut);
	}
	
	@Override
	public void update(CInvestmentOutEntity cInvestmentOut){
		cInvestmentOutDao.update(cInvestmentOut);
	}
	
	@Override
	public void delete(Integer id){
		cInvestmentOutDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		cInvestmentOutDao.deleteBatch(ids);
	}
	@Override
	public void deleteByname(String entname) {
		cInvestmentOutDao.delete(entname);
		
	}
}
